
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '商户0428',
    enableValidate: true
})

@Injectable()
export class DetailFormComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'code_7d28d302_rlsc',
        name: "{{code_7d28d302_rlsc}}",
        binding: 'code',
        updateOn: 'blur',
        defaultI18nValue: '编号',
    })
    code: FormControl;

    @NgFormControl({
        id: 'name_65772c6a_m87s',
        name: "{{name_65772c6a_m87s}}",
        binding: 'name',
        updateOn: 'blur',
        defaultI18nValue: '标题',
    })
    name: FormControl;

}